Conversation
WalkthroughA new method for storing refresh tokens was added to the authentication service. The Apple and Kakao login handlers were updated to use this method, ensuring refresh tokens are explicitly saved after user authentication. The system configuration was also modified to allow JWT expiration and refresh expiration values to be set via environment variables, with defaults provided for both development and production profiles. No other logic or error handling was changed in these updates. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LoginHandler
participant TokenRefreshService
participant AuthResult
User->>LoginHandler: Initiate login (Apple/Kakao)
LoginHandler->>LoginHandler: Validate credentials
LoginHandler->>LoginHandler: Generate JWT token pair
LoginHandler->>TokenRefreshService: putRefreshToken(userId, refreshToken)
TokenRefreshService-->>LoginHandler: Store refresh token
LoginHandler->>AuthResult: Return authentication result
AuthResult-->>User: Provide tokens
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🔇 Additional comments (9)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
#60 에서 적용되지 않은 저장로직이 존재하여 revert 후 다시 작업했습니다.
Summary by CodeRabbit